package com.heyqing.ems.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heyqing.ems.domain.ManagerInfo;
import com.heyqing.ems.po.ModifyPo;
import com.heyqing.ems.po.OpEmployeePo;
import com.heyqing.ems.po.QueryPo;
import com.heyqing.ems.vo.Result;

/**
 * ClassName:ManagerService
 * Package:com.heyqing.ems.service
 * Description:
 *
 * @Date:2024/6/26
 * @Author:Heyqing
 */
public interface ManagerService extends IService<ManagerInfo> {

    /**
     * 查询列表
     *
     * @param queryPo
     * @return
     */
    Result getList(QueryPo queryPo);

    /**
     * 添加/修改员工
     *
     * @param opEmployeePo
     * @return
     */
    Result saveEmployee(OpEmployeePo opEmployeePo);

    /**
     * 添加/修改员工密码
     *
     * @param modifyPo
     * @return
     */
    Result modify(ModifyPo modifyPo);

    /**
     * 删除员工
     *
     * @param id
     * @return
     */
    Result delete(Long id);
}
